package per.com.bean;


import java.util.Date;

/**
 * @author zxy
 * sex:0-女,1-男
 * status:0-普通用户,1-管理员
 * isfreeze:0-被冻结,1-没有被冻结
 */
public class User extends BaseEntity{
    private String uid;

    private String username;

    private String password;

    private Integer sex;

    private String tel;

    private Integer status;

    private Integer isfreeze;

    private String question;

    private String answer;

    private Date createtime;

    private Date updatetime;

    private Integer creditScore;

    public User(String uid, String username, String password, Integer sex, String tel, Integer status, Integer isfreeze, String question, String answer, Date createtime, Date updatetime, Integer creditScore) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.tel = tel;
        this.status = status;
        this.isfreeze = isfreeze;
        this.question = question;
        this.answer = answer;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.creditScore = creditScore;
    }

    public String getUid() {
        return uid;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public Integer getSex() {
        return sex;
    }

    public String getTel() {
        return tel;
    }

    public Integer getStatus() {
        return status;
    }

    public Integer getIsfreeze() {
        return isfreeze;
    }

    public String getQuestion() {
        return question;
    }

    public String getAnswer() {
        return answer;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public Integer getCreditScore() {
        return creditScore;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setIsfreeze(Integer isfreeze) {
        this.isfreeze = isfreeze;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public void setCreditScore(Integer creditScore) {
        this.creditScore = creditScore;
    }

    public User(){

    }

    public User(String uid, String username, String password, Integer sex, String tel, Integer status, Integer isfreeze, String question, String answer, Integer creditScore) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.tel = tel;
        this.status = status;
        this.isfreeze = isfreeze;
        this.question = question;
        this.answer = answer;
        this.creditScore = creditScore;
    }
}